<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      template="./template/DefaultTemplate.xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:vt="http://java.sun.com/jsf/composite/trainer"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <ui:insert name="metadata"/>
    <f:event type="preRenderView"
             listener="#{loginBacking.forwardToMainIfLoggedIn}" />
    <f:view contentType="text/html">
        <h:head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Merlion Food</title>
            <h:outputStylesheet name="css/jsfcrud.css"/>

            <style>
                .infoMsg {color:blue;}
                .errorMsg {color:red;}
            </style>
        </h:head>

        <h:body>
            <div id="top" class="top" style="height: 150px">              
                <ui:include src="/loginwei.xhtml" />
            </div>
            <br />
            <div id="content" >
                <p:panel header="Merlion Food" >
                    <p:fieldset legend="Products" >
                        <h:outputText value="Merlion Food produces 4 delicious type of snack bars that are backed by thorough research and development by the renowned nutritionists and product developers. The snack bars are balanced with proteins, carbohydrates, and fats normally found in complete meals. They contain less sugar and fat than most regular meals, resulting in a reduced calorie intake. Consumers will not feel hungry as the snack bars have been clinically tested to satisfy hunger for hours." 
                                      />
                    </p:fieldset>
                    <br />
                    <p:tabView event="mouseover">  

                        <p:tab title="Classic Nutri Bar (Nuts)">  
                            <h:panelGrid columns="2" cellpadding="10">  
                                <p:graphicImage value="/images/12.png" />  
                                <h:outputText  
                                    value="Classic Nutri Bar (Nuts) is a great choice for use before or during moderate-intensity exercise and sports like climbing, hiking and skiing. The almonds, peanuts, and whole oats, along with 10g protein deliver nutritious, long lasting energy and taste great! Fueling up right can make a big impact on how you feel and perform no matter what you’re tackling. Eat 1 bar 30–60 minutes before exercise, and for activities lasting over 1 hour, eat 1 bar per hour."
                                    />  
                            </h:panelGrid>  
                        </p:tab>  

                        <p:tab title="Classic Nutri Bar (Fruits)">  
                            <h:panelGrid columns="2" cellpadding="10">  
                                <p:graphicImage value="/images/11.png" />  
                                <h:outputText value="Consumers do their best to eat healthy most of the time, but with a hectic lifestyle, they don’t always have time to prepare a healthy meal. That’s why Merlion Food has created Classic Nutri Bar (Fruits). It has all the nutrients a person need in a meal, and it’s available in a convenient bar. Merlion Food has taken all the guesswork out of what consumers eat by counting the calories and grams of protein, fat and carbohydrates forthem. Merlion Food helps take care of its consumers' nutrition so that they have time to take care of everything else."/>  
                            </h:panelGrid>  
                        </p:tab>  

                        <p:tab title="Premium Power Bar (Chocolate Nuts)">  
                            <h:panelGrid columns="2" cellpadding="10">  
                                <p:graphicImage value="/images/13.png" />  
                                <h:outputText  
                                    value="There is nothing more premium than being out there close to nature. So Merlion Food has taken this as its inspiration for the Premium Power Bar (Nuts) . It is made using natural ingredients such as real fruit pieces, pumpkin seeds, rolled oats and honey. It’s formulated to give you long lasting energy from quality carbohydrate allowing you to stay out there longer. If that wasn’t enough, they taste great too!
                                    Having only 4g fat per bar, the bar is easy to digest and doesn’t stress your stomach.
                                    The bar comes along in three varied flavours: the fruity 'Strawberry and Cranberry', the chocolate – crispy 'Cacao Crunch' and the pleasantly savoury 'Sweet’n Salty Seeds and Pretzels'.
                                    No artificial colours or flavours and of course free from preservatives.
                                    "/> 
                            </h:panelGrid>  
                        </p:tab>

                        <p:tab title="Premium Power Bar (Redcurrant Fruits)">  
                            <h:panelGrid columns="2" cellpadding="10">  
                                <p:graphicImage value="/images/14.png" />  
                                <h:outputText value="The Premium Power Bar (Fruits) delivers the same energy to muscles as the original Premium Power Bar (Nuts), but now with refreshing fruits, such as wild berries, strawberries, cherries, bananas, apples and exotic fruits and is now also available as Cherry-Cranberry Twister and Banana Punch. The special C2MAX carb mix contains a special ratio of glucose and fructose sources. Consumed regularly during exercise, this mix can increase the amount of carbs that can be digested and used by working muscles up to 55% - scientific studies showed: improved endurance by up to 8% and long lasting energy. For all fans of the PowerBar Performance Banana – we’ve made those now even better, put more fruits into it and call this new taste explosion: Banana Punch!
                                              "/>  
                            </h:panelGrid>  
                        </p:tab> 
                    </p:tabView> 
                    <br />
                </p:panel>
            </div>
            <div id="bottom" >
                <p:separator />
                <h:outputText value="Merlion Food Ltd | 21A Sierra Road | Singapore 719283 | Telephone: 83555492 | Email: info@merlionfood.com"/>
                <br />
            </div>

        </h:body>

    </f:view>
</html>
